<div class="widget_auth">
	<h1><?= $this->widget_title; ?></h1>
	<?php if(!$this->form): ?>
		<ul>
			<li>
				<a href="<?= $this->url(array(),'users_index_messages'); ?>" title="<?= $this->translate('My messages'); ?>">
					<?= $this->translate('My messages'); ?>
				</a>
			</li>
			<li>
				<a href="<?= $this->url(array('username' => $this->user->username),'users_index_index'); ?>" title="<?= $this->translate('My profile'); ?>">
					<?= $this->translate('My profile'); ?>
				</a>
			</li>
			<li>
				<a href="<?= $this->url(array(),'default_auth_logout'); ?>" title="<?= $this->translate('Logout'); ?>">
					<?= $this->translate('Logout'); ?>
				</a>
			</li>
		</ul>
	<?php else: ?>
		<?= $this->form; ?>
		<h1><?= $this->translate('Or'); ?></h1>
		<p>
			<a href="<?= $this->url(array(),'users_user_remember'); ?>" title="<?= $this->translate('Remember password'); ?>">
				<?= $this->translate('Remember password'); ?>
			</a>&nbsp;
			<a href="<?= $this->url(array(),'users_user_register'); ?>" title="<?= $this->translate('Registration'); ?>">
				<?= $this->translate('Registration'); ?>
			</a>
		</p>
	<?php endif; ?>
</div>
